﻿//# sourceURL=wisej.web.ext.IgniteWidget.igCategoryChart.js

///////////////////////////////////////////////////////////////////////////////
//
// (C) 2020 ICE TEA GROUP LLC - ALL RIGHTS RESERVED
//
// 
//
// ALL INFORMATION CONTAINED HEREIN IS, AND REMAINS
// THE PROPERTY OF ICE TEA GROUP LLC AND ITS SUPPLIERS, IF ANY.
// THE INTELLECTUAL PROPERTY AND TECHNICAL CONCEPTS CONTAINED
// HEREIN ARE PROPRIETARY TO ICE TEA GROUP LLC AND ITS SUPPLIERS
// AND MAY BE COVERED BY U.S. AND FOREIGN PATENTS, PATENT IN PROCESS, AND
// ARE PROTECTED BY TRADE SECRET OR COPYRIGHT LAW.
//
// DISSEMINATION OF THIS INFORMATION OR REPRODUCTION OF THIS MATERIAL
// IS STRICTLY FORBIDDEN UNLESS PRIOR WRITTEN PERMISSION IS OBTAINED
// FROM ICE TEA GROUP LLC.
//
///////////////////////////////////////////////////////////////////////////////

/**
 * Process the options map before it is used to
 * create or update the widget.
 */
this.filterOptions = function (options) {

    if (options.yAxisFormatLabel)
        options.yAxisFormatLabel = this.initFunction(options.yAxisFormatLabel);

    if (wisej.web.DesignMode) {
        options.transitionDuration = 0;
        options.transitionInDuration = 0;
        options.animateSeriesWhenAxisRangeChanges = false;
    }
};

/**
 * Downloads an image of the chart to the client's computer
 */
this.exportImage = function () {

    var data = this.widget.exportVisualData();
    debugger;

}